package com.bluegalaxy.sitescore.mapper;

import com.bluegalaxy.sitescore.entity.TbGroundWater;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.bluegalaxy.sitescore.entity.TbScore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * TbGroundWater 表数据库控制层接口
 *
 */
public interface TbGroundWaterMapper extends AutoMapper<TbGroundWater> {

    public List<TbScore> getGroundWaterList(@Param("sourceId") int sourceId);

    public List<TbScore> getGroundWaterIsCaculate(@Param("sourceId") int sourceId);

    public boolean updateIsCaculate(@Param("sourceId") int sourceId);

    public boolean delGroundWater(@Param("id")int id,@Param("sourceId")int sourceId);

}